package com.union.entitybean;

import java.util.HashSet;
import java.util.Set;

/**
 * Person entity. @author MyEclipse Persistence Tools
 */

public class Person implements java.io.Serializable {

	// Fields    

	private Integer personId;
	private String title;
	private String pname;
	private String surename;
	private String titleChn;
	private String pnameChn;
	private String surenameChn;

	// Constructors

	/** default constructor */
	public Person() {
	}

	/** full constructor */
	public Person(String title, String pname, String surename, String titleChn,
			String pnameChn, String surenameChn) {
		this.title = title;
		this.pname = pname;
		this.surename = surename;
		this.titleChn = titleChn;
		this.pnameChn = pnameChn;
		this.surenameChn = surenameChn;
	}

	// Property accessors

	public Integer getPersonId() {
		return this.personId;
	}

	public void setPersonId(Integer personId) {
		this.personId = personId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPname() {
		return this.pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getSurename() {
		return this.surename;
	}

	public void setSurename(String surename) {
		this.surename = surename;
	}

	public String getTitleChn() {
		return this.titleChn;
	}

	public void setTitleChn(String titleChn) {
		this.titleChn = titleChn;
	}

	public String getPnameChn() {
		return this.pnameChn;
	}

	public void setPnameChn(String pnameChn) {
		this.pnameChn = pnameChn;
	}

	public String getSurenameChn() {
		return this.surenameChn;
	}

	public void setSurenameChn(String surenameChn) {
		this.surenameChn = surenameChn;
	}

}